/*******************************************************************************
 * Copyright (c) 2011 Grupo de Sistemas Inteligentes (GSI) - DIT UPM
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package es.upm.dit.gsi.eclipse.jadex.common.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;

import org.eclipse.jface.preference.IPreferenceStore;
import es.upm.dit.gsi.eclipse.jadex.common.Activator;

/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		IPreferenceStore  store = Activator.getDefault().getPreferenceStore(); 
		/*
		store.setDefault(PreferenceConstants.JADEX_PATH, "PATH/TO/JADEX/LIBRARIES/");
		store.setDefault(PreferenceConstants.JADEX_VERSION, "2.0-rc6");
		*/
		store.setDefault(PreferenceConstants.REPOSITORY_LOCATION, "http://path.to.repository");
		store.setDefault(PreferenceConstants.USER, "user");
		store.setDefault(PreferenceConstants.PASSWORD, "");
		
		
	}

}
